@import './../../library/style/phone_global.scss';
@import './../../library/style/components/slick';

body {
  background-color: #F6F6F6;
}
.mdsedetails-wrap {
  width: 100%;
  padding-top: 0.55rem;
  padding-bottom: 0.56rem;
  .mdsedetails-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    margin-right: 0.92rem;
    width: 100%;
    height: 0.55rem;
    padding: 0 0.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
  }
  .mdsedetails-header-left {
    width: 0.09rem;
    height: 0.17rem;
    @include background-image-wrap('./../../images/fanhui.png');
  }
  .mdsedetails-header-rightMax {
    display: flex;
  }
  .mdsedetails-header-center {
    margin-right: 0.4rem;
    display: flex;
    height: 100%;
    align-items: center;
    .center-text:not(:last-of-type) {
      margin-right: 0.28rem;
    }
    .center-text {
      padding-bottom: 0.06rem;
      line-height: 1;
      font-size: 0.15rem;
      color: #212121;
      white-space: nowrap;
      border-bottom: 0.01rem solid #ffffff;
    }
    .center-textaction {
      border-bottom: 0.01rem solid #F0281F;
    }
  }
  .mdsedetails-header-right {
    position: relative;
    display: flex;
    .right-img {
      width: 0.17rem;
      height: 0.17rem;
    }
    .right-img:nth-of-type(1) {
      @include background-image-wrap('./../../images/share.png');
    }
    .right-img:nth-of-type(2) {
      @include background-image-wrap('./../../images/more.png');
    }
    .mdsedetails-header-nav {
      position: absolute;
      bottom: 0;
      padding-top: 0.05rem;
      right: -0.1rem;
      width: 1.18rem;
      transform: translateY(100%);
      display: flex;
      flex-direction: column;
      background-size: cover;
      .mdsedetails-header-nav-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
      }
      .nav-item:not(:last-of-type) {
        border-bottom: 0.01rem solid #FFFFFF;
      }
      .nav-item {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0.14rem 0.1rem;
        .nav-item-img {
          width: 0.16rem;
          height: 0.16rem;
          margin-right: 0.23rem;
        }
        .nav-item-text {
          font-size: 0.14rem;
          color: #FFFFFF;
          line-height: 1;
        }
      }
      .nav-item:nth-of-type(1) {
        .nav-item-img {
          @include background-image-wrap('./../../images/msg.png');
        }
      }
      .nav-item:nth-of-type(2) {
        .nav-item-img {
          @include background-image-wrap('./../../images/index.png');
        }
      }
      .nav-item:nth-of-type(3) {
        .nav-item-img {
          @include background-image-wrap('./../../images/serach-2.png');
        }
      }
      .nav-item:nth-of-type(4) {
        .nav-item-img {
          @include background-image-wrap('./../../images/collect.png');
        }
      }
    }
  }
  .mdsedetails-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #FFFFFF;
    width: 100%;
    height: 0.56rem;
    display: flex;
    padding-left: 0.2rem;
    .mdsedetails-footer-app {
      display: flex;
      flex: 1;
      padding-top: 0.07rem;
      padding-right: 0.1rem;
      .app-item:nth-of-type(1) {
        .app-item-img {
          background-image: url("./../../images/dianpu.png");
        }
      }
      .app-item:nth-of-type(2) {
        .app-item-img {
          background-image: url("./../../images/kefu.png");
        }
      }
      .app-item:nth-of-type(3) {
        .app-item-img {
          background-image: url("./../../images/gouwuche.png");
        }
      }
      .app-item:not(:last-of-type) {
        margin-right: 0.3rem;
      }
      .app-item {
        width: 0.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .app-item-img {
        width: 0.2rem;
        height: 0.2rem;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        margin-bottom: 0.08rem;
      }
      .app-item-info {
        font-size: 0.12rem;
        color: #5E5E5E;
        white-space:nowrap;
      }
    }
    .mdsedetails-footer-operation {
      height: 100%;
      display: flex;
      align-items: center;
      padding: 0 0.1rem;
      font-size: 0.18rem;
      background-color: #FF9233;
      color: #FFFFFF;
    }
  }
}
.mdsedetails-wrapen {
  .mdsedetails-header-center .center-text:not(:last-of-type) {
    margin-right: 0.08rem;
  }
}

// mdsedetailsindex-wrap
.mdsedetailsindex-wrap {
  .mdsedetails-banner {
    position: relative;
    width: 100%;
    height: 3.75rem;
    overflow: hidden;
    .mdsedetails-banner-item {
      width: 100%;
      height: 3.75rem;
      background-color: hsla(0,0%,53.3%,.2);
      .mdsedetails-banner-item-target {
        width: 100%;
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
      }
    }
    .mdsedetails-banner-number {
      position: absolute;
      z-index: 99;
      font-size: 0.12rem;
      color: #FFFFFF;
      line-height: 1;
      right: 0.15rem;
      bottom: 0.16rem;
      padding: 0.02rem 0.06rem;
      background-color: rgba(000,000,000,0.4);
      border-radius: 0.08rem;
    }
  }
  .mdsedetails-block {
    background-color: #FFFFFF;
    padding: 0.2rem 0.15rem 0.15rem;
    border-bottom: 1px solid #F0F2F5;
  }
  .mdsedetails-title {
    margin-bottom: 0.15rem;
    display: flex;
    .titile-info {
      margin-right: 0.14rem;
      flex: 1;
      font-size: 0.15rem;
      color: #212121;
    }
    .titile-img {
      width: 0.17rem;
      height: 0.17rem;
      @include background-image-wrap('./../../images/collect-1.png');
    }
  }
  .mdsedetails-subtitle {
    margin-bottom: 0.13rem;
    color: #F0281F;
    font-size: 0.14rem;
    line-height: 1.2;
  }
  .mdsedetails-base {
    display: flex;
    align-items: center;
    .mdsedetails-base-info {
      flex: 1;
      .info-price {
        margin-bottom: 0.15rem;
        font-size: 0.15rem;
        color: #FF2828;
        line-height: 1;
      }
      .info-num {
        font-size: 0.12rem;
        color: #999999;
      }
    }
    .mdsedetails-base-img {
      width: 0.4rem;
      height: 0.4rem;
      @include background-image-wrap('./../../images/sheep.png');
    }
  }
  .mdsedetails-promotion {
    background-color: #FFFFFF;
    width: 100%;
    padding: 0.05rem 0.15rem;
    margin-bottom: 0.1rem;
    display: flex;
    align-items: center;
    .mdsedetails-promotion-title {
      margin-right: 0.1rem;
      line-height: 1.3;
      font-size: 0.14rem;
      color: #999999;
    }
    .mdsedetails-promotion-info {
      margin-right: 1.2rem;
      flex: 1;
      font-size: 0.14rem;
      line-height: 1.3;
    }
    .mdsedetails-promotion-more {
      padding-top: 0.09rem;
      width: 0.16rem;
      height: 0.03rem;
      @include background-image-wrap('./../../images/goods_more.png');
    }
  }
  .mdsedetails-generalize {
    margin-bottom: 0.1rem;
    padding-top: 0.1rem;
    background-color: #FFFFFF;
    .mdsedetails-generalize-labels {
      width: 100%;
      display: flex;
      padding: 0 0.15rem;
      .labels-item:not(:last-of-type) {
        margin-right: 0.25rem;
      }
      .labels-item {
        display: flex;
      }
      .labels-item-img {
        margin-right: 0.06rem;
        width: 0.14rem;
        height: 0.14rem;
        @include background-image-wrap('./../../images/dabiao.png');
      }
      .labels-item-info {
        font-size: 0.12rem;
        color: #999999;
        line-height: 1;
      }
    }
    .mdsedetails-generalize-bg {
      margin-top: 0.12rem;
      width: 100%;
      height: 0.9rem;
      overflow: hidden;
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      .generalize-bg-item {
        width: 100%;
        height: 0.9rem;
        .generalize-bg-item-target {
          width: 100%;
          height: 100%;
          background-color: hsla(0,0%,53.3%,.2);
          background-size: contain;
        }
      }
    }
  }
  .mdsedetails-msg {
    margin-bottom: 0.1rem;
    background-color: #ffffff;
    padding: 0.11rem 0 0.2rem;
    .mdsedetails-msg-title {
      display: flex;
      line-height: 1;
      padding: 0 0.15rem 0.16rem;
      border-bottom: 0.01rem solid #F0F2F5;
      .title-info {
        flex: 1;
        font-size: 0.14rem;
        color: #999999;
      }
      .title-good {
        line-height:1;
        font-size: 0.12rem;
        color: #212121;
      }
      .title-good-num {
        font-size: 0.12rem;
        color: #F0281F;
      }
    }
    .mdsedetails-msg-list {
      background-color: #FFFFFF;
      padding: 0 0 0 0.15rem;
      .msg-list-item:not(:last-of-type) {
        border-bottom: 0.01rem solid #F0F2F5;
      }
      .msg-list-item {
        padding: 0.1rem 0.15rem 0.1rem 0;
      }
      .msg-list-item-title {
        margin-bottom: 0.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .title-base {
          flex: 1;
          display: flex;
        }
        .title-base-img {
          width: 0.3rem;
          height: 0.3rem;
          background-repeat: no-repeat;
          background-position: center;
          background-size: contain;
          margin-right: 0.1rem;
          border-radius: 50%;
          background-color: hsla(0,0%,53.3%,.2);
        }
        .title-base-name {
          display: flex;
          align-items: center;
          line-height: 1;
          font-size: 0.14rem;
          color: #212121;
        }
        .title-pingjia {
          display: flex;
          .title-pingjia-item:not(:last-of-type) {
            margin-right: 0.04rem;
          }
          .title-pingjia-item {
            width: 0.08rem;
            height: 0.08rem;
            @include background-image-wrap('./../../images/pingjia-1.png');
          }
        }
      }
      .msg-list-item-info {
        .info-text {
          font-size: 0.14rem;
          color: #212121;
          line-height: 1.3;
          @include limit-line(2);
        }
      }
      .mdsedetails-msg-footer {
        margin-top: 0.2rem;
        width: 100%;
        display: flex;
        justify-content: center;
        .footer-main {
          font-size: 0.13rem;
          color: #999999;
          padding: 0.1rem 0.23rem;
          border: 0.01rem solid #555555;
        }
      }
    }
  }
  .mdsedetails-recommend {
    background-color: #FFFFFF;
    padding: 0.2rem 0.15rem;
    .mdsedetails-recommend-title {
      margin-bottom: 0.22rem;
      width: 100%;
      display: flex;
      align-items: center;
      .mdsedetails-recommend-title-solid {
        flex: 1;
        height: 0.01rem;
        background-color: #EEEEEE;
      }
      .mdsedetails-recommend-title-text {
        padding: 0 0.1rem;
        font-size: 0.15rem;
        color: #5E5E5E;
        line-height: 1;
      }
    }
    .mdsedetails-recommend-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: auto;
      grid-gap: 0.15rem 0.26rem;
      .list-item {
        .list-item-image {
          width: 100%;
          height: 1.04rem;
          margin-bottom: 0.1rem;
          div {
            width: 100%;
            height: 100%;
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
          }
        }
        .list-item-title {
          margin-bottom: 0.12rem;
          font-size: 0.12rem;
          color: #999999;
          line-height: 1.2;
          @include limit-line(2);
        }
        .list-item-price {
          line-height: 1;
          font-size: 0.12rem;
          color: #333333;
          span {
            margin-left: 0.06rem;
            font-size: 0.14rem;
          }
        }
      }
    }
  }
}

// mdsedetailsdata-wrap
.mdsedetailsdata-wrap {
  iframe {
    width: 100%;
  }
}